home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
-
- <xsl:stylesheet
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:msxsl="urn:schemas-microsoft-com:xslt"
- version="1.0">
-
- <xsl:output
- method="html"
- version="4.0"
- encoding="UTF-8"
- omit-xml-declaration="yes"
- indent="yes"/>
-
- <xsl:include href="./resource/html/propcell.xsl"/>
-
- <xsl:template match="/Root">
-
- <html>
- <table>
- <tr>
- <!-- Object header -->
- <td colspan="4">
- <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
- <img src="hline_gray"/>
- </td>
- </tr>
- <tr>
- <!-- Diagram image -->
- <td>
- <img src="EE4E9A06-A28C-4fd1-BEAE-9B751D52DCE8" align="left"/>
- </td>
- <!-- properties list -->
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_DISKNAME')"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_VOLUMELABEL')"/>
- <xsl:with-param name="CheckFSName" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_TYPESTRING')"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_FSNAME')"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_ROOTSIZE')"/>
- <xsl:with-param name="CheckNull" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_BOOTSIZE')"/>
- <xsl:with-param name="CheckNull" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_CLUSTERSIZE')"/>
- <xsl:with-param name="CheckNull" select="boolean(1)"/>
- </xsl:call-template>
-
- </table>
- </td>
-
- <td>
- <table border="0" cellspacing="0" cellpadding="0">
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_SERIALNUMBER')"/>
- <xsl:with-param name="CheckFSName" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_PARTITIONIDSTRING')"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_NTFSVERSIONSTRING')"/>
- <xsl:with-param name="CheckNull" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_DATASIZESTRING')"/>
- <xsl:with-param name="CheckFSName" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_FREESIZESTRING')"/>
- <xsl:with-param name="CheckFSName" select="boolean(1)"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_ISPARTBOOTABLESTR')"/>
- </xsl:call-template>
-
- <xsl:call-template name="PropCell">
- <xsl:with-param name="PropName" select="string('PROPID_HDM_ISPARTHIDDENSTR')"/>
- </xsl:call-template>
- </table>
- </td>
- <td width='100%'>
-
- </td>
- </tr>
- <tr>
- <!-- Divider line -->
- <td colspan='4'>
- <img src="hline_gray"/>
- </td>
- </tr>
- </table>
-
- <!-- Command hyperlinks -->
- <xsl:call-template name="CommandTable"/>
-
- </html>
- </xsl:template>
-
- </xsl:stylesheet>
-